﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

/// <summary>
/// Summary description for Class1
/// </summary>
[XmlRootAttribute("SanPhamDTO"), XmlType("SanPhamDTO")]
public class SanPhamNCC
{
    private int _MaSanPham;

    [XmlElement(ElementName = "MaSanPham")]
    public int MaSanPham
    {
        get { return _MaSanPham; }
        set { _MaSanPham = value; }
    }

    private int _MaTheLoai;

    [XmlElement(ElementName = "MaTheLoai")]
    public int MaTheLoai
    {
        get { return _MaTheLoai; }
        set { _MaTheLoai = value; }
    }

    private string _TenSanPham;

    [XmlElement(ElementName = "TenSanPham")]
    public string TenSanPham
    {
        get { return _TenSanPham; }
        set { _TenSanPham = value; }
    }

    private double _GiaSanPham;

    [XmlElement(ElementName = "GiaSanPham")]
    public double GiaSanPham
    {
        get { return _GiaSanPham; }
        set { _GiaSanPham = value; }
    }

    private string _HinhAnhSanPham;

    [XmlElement(ElementName = "HinhAnhSanPham")]
    public string HinhAnhSanPham
    {
        get { return _HinhAnhSanPham; }
        set { _HinhAnhSanPham = value; }
    }

    private string _MoTaSanPham;

    [XmlElement(ElementName = "MoTaSanPham")]
    public string MoTaSanPham
    {
        get { return _MoTaSanPham; }
        set { _MoTaSanPham = value; }
    }

    private int _SoLuongTon;

    [XmlElement(ElementName = "SoLuongTon")]
    public int SoLuongTon
    {
        get { return _SoLuongTon; }
        set { _SoLuongTon = value; }
    }

    private int _SoLuongToiThieu;

    [XmlElement(ElementName = "SoLuongToiThieu")]
    public int SoLuongToiThieu
    {
        get { return _SoLuongToiThieu; }
        set { _SoLuongToiThieu = value; }
    }

    private int _SLSPMotBlock;
    [XmlElement(ElementName = "SLSPMotBlock")]
    public int SLSPMotBlock
    {
        get { return _SLSPMotBlock; }
        set { _SLSPMotBlock = value; }
    }

    private string _ThongTinKhac;

    [XmlElement(ElementName = "ThongTinKhac")]
    public string ThongTinKhac
    {
        get { return _ThongTinKhac; }
        set { _ThongTinKhac = value; }
    }

    private int _DaXoa;

    [XmlElement(ElementName = "DaXoa")]
    public int DaXoa
    {
        get { return _DaXoa; }
        set { _DaXoa = value; }
    }

    private int _MaTacGia;

    [XmlElement(ElementName = "MaTacGia")]
    public int MaTacGia
    {
        get { return _MaTacGia; }
        set { _MaTacGia = value; }
    }

    private int _MaNhaSanXuat;

    [XmlElement(ElementName = "TenTheLoai")]
    public int MaNhaSanXuat
    {
        get { return _MaNhaSanXuat; }
        set { _MaNhaSanXuat = value; }
    }

    public SanPhamNCC()
    {

    }
}